/*
 * Copyright (c) 2021. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan. 
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna. 
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus. 
 * Vestibulum commodo. Ut rhoncus gravida arcu. 
 */

/**
 * 比较运算符
 */
public class Demo05 {

    public static void main(String[] args) {
        //常规操作
        System.out.println(1>2);//false
        System.out.println(1L>3);//false
        System.out.println(5>4.999);//true

        //特殊
        System.out.println(0.1f==0.1d);//false
        System.out.println(0.125f==0.125d);//true
        System.out.println('a'>'A');//true
//        System.out.println(true>false);//编译错误
    }
}
